﻿<UserControl x:Class="SubVersionOne.LoginView"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
             xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
             mc:Ignorable="d" 
             d:DesignHeight="300" d:DesignWidth="300">
    <Grid>
        <Grid.RowDefinitions>
            <RowDefinition Height="Auto"/>
            <RowDefinition Height="Auto"/>
        </Grid.RowDefinitions>
            <GroupBox Margin="10,10,10,10"  Grid.Row="0"
                   FontSize="15px">
            <GroupBox.Header>
                <TextBlock FontSize="16" FontWeight="Bold">
                    Version One Settings
                </TextBlock>

            </GroupBox.Header>

            <StackPanel>
                <TextBlock >
                Application Url
                </TextBlock>
                <TextBox x:Name="VersionOneUrl" Text="{Binding ApplicationUrl, Mode=TwoWay,UpdateSourceTrigger=PropertyChanged }"></TextBox>

                
                <TextBlock>
                    Username
                </TextBlock>
                <TextBox x:Name="UserName" Text="{Binding UserName, Mode=TwoWay,UpdateSourceTrigger=PropertyChanged }"/>
                <TextBlock>
                    Password
                </TextBlock>
                <PasswordBox x:Name="Password" />

                <CheckBox x:Name="SavePwd" IsChecked="true">Save Password</CheckBox>
                <StackPanel Orientation="Horizontal">
                    <Button x:Name="Login" Margin="5" Padding="2" Click="Login_Click">Login</Button>
                    <Button x:Name="Cancel" Margin="5" Padding="2" Click="Cancel_Click_1">Cancel</Button>
                </StackPanel>
            </StackPanel>

        </GroupBox>

      
    </Grid>
</UserControl>
